package com.zycx.system.role.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Description: 角色实体类
 * Created by zycx on 2018-12-10 21:27
 * Created with IntelliJ IDEA.
 */
@Data
@Table(name = "t_sys_role")
public class Role implements Serializable {

    @Id
    private String id;

    /**
     * 角色名称
     **/
    @Column(name = "role_name")
    private String roleName;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 是否启用
     */
    @Column(name = "enable")
    private Boolean enable;

    /**
     * 创建时间
     */
    @Column(name = "ctr_time")
    private Date ctrTime;

    @Column(name = "ctr_user_id")
    private String ctrUserId;

    @Column(name = "ctr_user_name")
    private String ctrUserName;

    /**
     * 更新时间
     */
    @Column(name = "up_time")
    private Date upTime;

    @Column(name = "up_user_id")
    private String upUserId;

    @Column(name = "up_user_name")
    private String upUserName;


}
